#include <ql_oe.h>

int main(int argc, const char *argv[])
{
	int ret = -1;
	int tty_mode;
    ret = QL_Voice_Config_Init();
	if(ret != 0){
		printf("init error\n");
		return -1;
	}
	usleep(500*1000);

	while(1){
		printf("input tty mode:\n");
		printf("0: Full\t 1: Voice carry over\t 2: Hearing carry over\t 3: Off\n");
		scanf("%d",&tty_mode);
		QL_Voice_Config_Set(tty_mode);
	}
	
	return 0;
}
